﻿using EkStudio.com.bean.xml.reflection;

namespace EkStudio.com.bean.xml.BillMapping
{
    /// <summary>
    /// 库存数据字段
    /// </summary>
    public class BillDataMapAdvancedElement
    {
        private string key = "";//字段的key
        private string caption = "";//字段caption
        private string dataSource = "";//字段数据源
        private string dataType = "";//字段数据类型
        private string languageTexts = "";//多语言
        private string command = "";//库存字段类型
        private string stockLinkKey = "";//连接库存结存字段设置
        private string stockType = "";//库存出入类型


        [Xml]
        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }

        [Xml]
        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        
        [Xml]
        public string DataSource
        {
            get { return dataSource; }
            set { dataSource = value; }
        }
        [Xml]
        public string DataType
        {
            get { return dataType; }
            set { dataType = value; }
        }
        [Xml]
        public string LanguageTexts
        {
            get { return languageTexts; }
            set { languageTexts = value; }
        }
        [Xml]
        public string Command
        {
            get { return command; }
            set { command = value; }
        }
        [Xml]
        public string StockLinkKey
        {
            get { return stockLinkKey; }
            set { stockLinkKey = value; }
        }

        [Xml]
        public string StockType
        {
            get { return stockType; }
            set { stockType = value; }
        }
    }
}
